:root {
  --primary-color: #52c41a;
  --primary-bg: #f6ffed;
  --primary-border: #b7eb8f;
  --text-color: rgba(0, 0, 0, 0.85);
  --secondary-text: rgba(0, 0, 0, 0.45);
  --border-radius: 8px;
  --card-padding: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: var(--text-color);
  background-color: #f9f9f9;
}

body {
  width: 100%;
  min-height: 100vh;
}

button {
  border-radius: 4px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.25s;
}

/* Customize Ant Design components */
.ant-card {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.ant-progress-bg {
  height: 8px !important;
}

.ant-typography {
  color: var(--text-color);
}

.ant-typography.ant-typography-secondary {
  color: var(--secondary-text);
}

.ant-divider {
  border-top-color: #e8e8e8;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
  :root {
    --card-padding: 12px;
  }
  
  .habit-card {
    padding: 10px 12px;
  }
}
